package zhanglei;

public class Test {
    public static void main(String[] args) {
        JavaTeacher teacher1 = new JavaTeacher("张磊", "天津中德应用技术大学");
        teacher1.introduction();
        teacher1.giveLesson();

        NetTeacher teacher2 = new NetTeacher("赵旭", "天津中德软通学院");
        teacher2.introduction();
        teacher2.giveLesson();
    }
}
